<!DOCTYPE html>
<html>
<head>
<title>用户信息表</title>
<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<#if shiro.hasPermission("otuserinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("otuserinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("otuserinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label"></div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.userid" placeholder=""/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">学历</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.education" placeholder="学历"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">毕业院校</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.academy" placeholder="毕业院校"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">婚姻状况</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.marriage" placeholder="婚姻状况"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">居住地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.address" placeholder="居住地址"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">公司行业</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.business" placeholder="公司行业"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">公司规模</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.scale" placeholder="公司规模"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">职位</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.position" placeholder="职位"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">月收入</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.income" placeholder="月收入"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">是否购房</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.purchasehouse" placeholder="是否购房"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">是否购车</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.purchasecar" placeholder="是否购车"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">紧急联系人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.urgencylinkman" placeholder="紧急联系人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">手机</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.urgencyphone" placeholder="手机"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">关系</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.urgencyrelation" placeholder="关系"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">生成时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.createtime" placeholder="生成时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">信息状态 3301 已完善 3302 未完善</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.infostatus" placeholder="信息状态 3301 已完善 3302 未完善"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.status" placeholder="状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">备注</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUserInfo.remark" placeholder="备注"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${request.contextPath}/statics/js/modules/generator/otuserinfo.js?_${.now?long}"></script>
</body>
</html>